package xyz.chenyongpeng.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import xyz.chenyongpeng.common.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 景点资源表
 * </p>
 *
 * @author chenyongpeng
 * @since 2018-12-10
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="ZsResource对象", description="景点资源表")
public class ZsResource extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "景点资源主键")
    @TableId(value = "r_id", type = IdType.AUTO)
    private Integer rId;

    @ApiModelProperty(value = "景点名称")
    private String rTitle;

    @ApiModelProperty(value = "列表小图")
    private String rThumbnail;

    @ApiModelProperty(value = "资源底层大图")
    private String rOrgImage;

    @ApiModelProperty(value = "是否需要付费 1是 0否")
    private String isNeedPay;

    @ApiModelProperty(value = "是否有语音讲解 1有 0没有")
    private String isHaveAudio;

    @ApiModelProperty(value = "是否可签到 1是 0否")
    private String isSignIn;

    @ApiModelProperty(value = "资源简介")
    private String rInfo;

    @ApiModelProperty(value = "辅助说明")
    private String rAssistInfo;

    @ApiModelProperty(value = "资源所在的层级")
    private Integer level;

    @ApiModelProperty(value = "是否有ICO图标 1有， 0无 （气泡）")
    private String isIcon;

    @ApiModelProperty(value = "是否需要预约 1是 0否")
    private String isNeedYy;

    @ApiModelProperty(value = "资源状态 1 上架状态 0未上架 如果为 付费景点&有音频 必须有绑定的产品才能上线")
    private Integer status;

    @ApiModelProperty(value = "1删除，0没删")
    private Boolean isDelete;


}
